#region Imported Namespaces


using System;


#endregion


namespace MobilePal.Controls
{
  public class UpDownSliderEventArgs<T>: EventArgs
  {
    #region Fields


    private readonly T _currentValue;
    private readonly T _delta;
    private readonly T _previousValue;


    #endregion


    #region Constructors/Finalizers


    public UpDownSliderEventArgs(T previousValue, T currentValue, T delta)
    {
      _previousValue = previousValue;
      _currentValue = currentValue;
      _delta = delta;
    }


    #endregion


    #region Properties/Indexers


    public T CurrentValue
    {
      get
      {
        return _currentValue;
      }
    }


    public T Delta
    {
      get
      {
        return _delta;
      }
    }

    public T PreviousValue
    {
      get
      {
        return _previousValue;
      }
    }


    #endregion
  }
}